@extends('layout/layout')

@section('content')
    <h2>热点</h2>
    <i>最新注册用户(redis中的sort用法)</i><br>
    <div>
        @foreach ($userList as $k => $v)
        <a class="username" href="{{url('profile/'.$v)}}">{{$v}}</a>
        @endforeach
    </div>

    <br><i>最新的50条微博!</i><br>
    <div class="post">
        <a class="username" href="profile.php?u=test">test</a>
        world<br>
        <i>22 分钟前 通过 web发布</i>
    </div>
@endsection